package top.lixunda.ecommerce.server.user.api.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import top.lixunda.ecommerce.server.user.api.entity.db.LogLoginDO;
import top.lixunda.commerce.common.core.entity.MessageObject;

import java.util.List;

/**
 * @author Xumda
 * @version time:2019/12/16 14:28
 * <p>
 * 登陆记录查询
 */
@Api("登陆记录查询")
@RequestMapping("/logLogin")
public interface ILogLoginController {

    /**
     * 查询当前登陆账号的登陆记录
     *
     * @return 登陆记录列表
     */
    @ApiOperation("查询当前登陆账号的登陆记录")
    @GetMapping("queryCurrentLogLogin")
    MessageObject<List<LogLoginDO>> queryCurrentLogLogin();

}
